package com.test.person;


public class PersonInfo {
    private String date;      // 出生日期
    private String sex;       // 性别
    private int check;        // 校验字段（可能用于标识状态）
    private double age;       // 年龄（含小数，如32.5岁）
    private String shengxiao; // 生肖（注意：原始JSON键是“生肖”，Java变量名不能使用中文符号，建议改为shengxiao或拼音）
    private String zodiac;    // 星座（天蝎座）
    private String addr;      // 地址（格式：省 省市区）

    //省
    private String province;
    //市
    private String city;
    //区
    private String area;

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getCheck() {
        return check;
    }

    public void setCheck(int check) {
        this.check = check;
    }

    public double getAge() {
        return age;
    }

    public void setAge(double age) {
        this.age = age;
    }

    public String getShengxiao() {
        return shengxiao;
    }

    public void setShengxiao(String shengxiao) {
        this.shengxiao = shengxiao;
    }

    public String getZodiac() {
        return zodiac;
    }

    public void setZodiac(String zodiac) {
        this.zodiac = zodiac;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    @Override
    public String toString() {
        return "PersonInfo{" +
                "date='" + date + '\'' +
                ", sex='" + sex + '\'' +
                ", check=" + check +
                ", age=" + age +
                ", shengxiao='" + shengxiao + '\'' +
                ", zodiac='" + zodiac + '\'' +
                ", addr='" + addr + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", area='" + area + '\'' +
                '}';
    }
}
